package com.healthshare.busi.news;

import com.healthshare.parse.news.TitleListParse;
import com.palmedia.framework.business.BaseBusi;
import com.palmedia.framework.myinterface.UiCallBack;
import com.palmedia.framework.parse.BaseParse;

public class TitleListBusi extends BaseBusi
{

	//三级分类/news/list.php?id=2&page=1&pagesize=12
	public  String  tail = "articlelist.php?listid=";
	
	public String id = "";
	public static final int pagesize = 20;
	public String page = "";
	public TitleListBusi(UiCallBack bCallBack)
	{
		super(bCallBack);
	}
	
	public void iExecute()
    {
		reqParam = tail+id+"&pagesize="+pagesize+"&page="+page;
    	super.iExecute();
    }
	
	@Override
	protected BaseParse parseResult(byte[] data)
	{
		// TODO Auto-generated method stub
		TitleListParse	ls = new TitleListParse();
		ls.page=page;
		ls.Parse(data);
		return ls;
	}
	
	
	
}
